package com.grz.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.math.BigDecimal;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Slf4j
public class OrderItem {
    private Integer id;
    private String goodsName;
    private BigDecimal goodsPrice;
    private Integer count;
    private Integer orderId;

    public OrderItem(String goodsName, BigDecimal goodsPrice, Integer count) {
        this.goodsName = goodsName;
        this.goodsPrice = goodsPrice;
        this.count = count;
    }
}
